#pragma once
#include"common.h"

struct File
{
public:
	File(){}
	void write(int duration);
	void read();
	int readmax();
	int readmin();
	friend class history;
	
private:
	vector <int> num;
	int mmax;
	int mmin;
};